package io.renren.modules.app.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 借阅信息表
 *
 * @author zwl
 * @email ${email}
 * @date 2024-01-02 14:08:32
 */
@Data
@TableName("bs_borrinform")
public class BsBorrinformEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId
	private Integer id;
	/**
	 * 图书编号
	 */
	private String informbooknum;
	/**
	 * 借阅证编号
	 */
	private String informcertnum;
	/**
	 * 借阅时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
	private Date informdate;
	/**
	 * 应归还日期
	 */
	@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
	private Date informreturndate;
	/**
	 * 实际归还日期
	 */
	@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
	private Date informrealdate;
	/**
	 * 借阅状态
	 */
	private String informstatus;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 修改时间
	 */
	private Date updateTime;

	@TableField(exist = false)
	private String bookname ;//图书名称

	@TableField(exist = false)
	private String certname ;//借阅者姓名

}
